package ly.gupao.edu.threaddemo.syn.objectClass;

public class ThreadB extends Thread{

    private SynchronizedTest synchronizedTest;

    ThreadB(SynchronizedTest synchronizedTest){
        this.synchronizedTest = synchronizedTest;
    }

    @Override
    public void run() {
        synchronizedTest.threadMethodC();
//        SynchronizedTest.threadMethodB();
    }
}
